
<div id="filters_container">
    <div id="for_rangePics">
        <?php include_component( 'lodging', 'filterPics' ) ?>
    </div>

    <?php include_partial( 'lodging/filterCalendar' ) ?>

    <?php include_partial( 'lodging/filterSlider' ) ?>

    <input id="rangeButton" type="button" value="Найти" title="Аренда квартир" onclick="doFilter()" />
</div>

<script type="text/javascript">

    var filterParams;

    function doFilter() {
        $.fancybox.showActivity();

    	filterParams = {
            'comfort'  : comfort.join(),
            'calendar' : calendar,
            'cost' : cost.join(),
            'rooms' : rooms,
            'destToSea' : destToSea
        };

        $.ajaxSetup({
            url: '<?php echo url_for("@filter") ?>',
            dataType: 'html',
            data: filterParams,
            type: 'POST',
            success: function(html) {
                $.fancybox.hideActivity();
                $('.my_grid_20').html(html);
            }
        });

        $.ajax();
    }

</script>

<p>&nbsp;</p>

<script type="text/javascript"><!--
google_ad_client = "pub-9572295614921444";
/* 200x200, создано 28.04.10 */
google_ad_slot = "2463163760";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
